package service.inventory;

import java.util.List;
import java.util.Map;
import model.inventory.Item;
import utility.NameValueList;


public interface ItemService {
    boolean save(Item item);
    boolean delete(Item item);
    Item getItem(int id);
    Item getItem(String kode);
    Long count(Map<NameValueList, Object> params);
    Boolean isExist(Map<NameValueList, Object> params);
    List<Item> getItem(int start, int num, String params, String orderBy);
    List<Item> getItem(int start, int num, Map<NameValueList, Object> params);
    List<Item> getAutOrder(int day);
    List<Item> createDivParent(Map<NameValueList, Object> params);
    List<Item> getItemTree(String divisi, Map<NameValueList, Object> params);
    
}
